package com.wkb.design.createModing.builderPattern.base;

import com.wkb.design.createModing.builderPattern.itf.IMobileBuilder;
import com.wkb.design.createModing.builderPattern.model.MobileMeal;

/**  
 * @author wkb 
 * @version 创建时间：2013-6-13 下午4:37:23  
 * 类说明
 */
public abstract class AbstractBascMeal implements IMobileBuilder{

	protected MobileMeal mobileMeal ;
	
	public AbstractBascMeal() {
		
		mobileMeal = new MobileMeal(); 
	}

	public MobileMeal createMobileMeal(){
		
		StringBuilder sb = new StringBuilder(100);
		sb.append("创建移动花费套餐：");
		sb.append("花费为");
		sb.append(mobileMeal.getMoney());
		sb.append("，");
		sb.append("短信为");
		sb.append(mobileMeal.getMsm());
		sb.append("，");
		sb.append("彩铃为");
		sb.append(mobileMeal.getMusic());
		sb.append("。");
		System.out.println(sb.toString());
		return this.mobileMeal; 
	}
	
}
